<div class="form" style="padding-left: 10px;">

     <p style='color: blue;'>
            <?php echo Yii::app()->user->getFlash('success'); ?>
            <?php echo Yii::app()->user->getFlash('error'); ?>
        </p>
    <hr/>
    <h3>Lịch sử rút tiền</h3>
    <table width="98%" border="1" cellpadding="4" cellspacing="4">
        <tr style="background-color: #ccc">
            <th>STT</th>
            <th>Ngày yêu cầu rút tiền</th>
            <th>Số tiền</th>
            <th>Loại tiền</th>
            <th>Trạng thái</th>
            <th>Ngày chuyển tiền</th>
            <th>Batch</th>
         <!--    <th>Người chuyển tiền</th> -->
        </tr>
       <?php 
       $cnt = 0;
       foreach ($model->withdraw_history as $withdraw)
            {
           $cnt++;
        ?>        
        <tr style="background-color: #F8F8F8">
            <td><?php echo $cnt; ?></td>
            <td><?php echo $withdraw->request_withdraw_date; ?></td>
            <td><?php echo $withdraw->money; ?></td>
            <td><?php echo $withdraw->currency; ?></td>
            <td><?php echo $withdraw->status; ?></td>
            <td><?php echo $withdraw->send_date; ?></td>
            <th><?php echo $withdraw->batch; ?></th>
          <!--   <td><?php echo $withdraw->send_by; ?></td> -->
        </tr>
        <?php } ?>
    </table>
</div><!-- form -->
